package com.pucong.gitee.database.backup.business.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pucong.gitee.database.backup.common.entity.service.ServiceLinuxLog;
import com.pucong.gitee.database.backup.common.entity.service.dto.ServiceLinuxLogSaveDto;
import com.pucong.gitee.database.backup.common.entity.service.dto.ServiceLinuxLogSelectDto;

import java.util.List;

public interface ServiceLinuxLogService extends IService<ServiceLinuxLog> {

    IPage<ServiceLinuxLog> getLinuxLogListByPage(int pageNum, int pageSize, ServiceLinuxLogSelectDto dto);

    ServiceLinuxLog getLinuxLogById(String id);

    void addLog(ServiceLinuxLogSaveDto dto);

    void addBatchLog(List<ServiceLinuxLogSaveDto> dtoList);
}
